* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #03315f;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    display: flex;
}

.logoImg {
    width: 5rem;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    flex-direction: row;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    background-color: rgba(148, 148, 253, 0.377);
    padding: 10px 15px;
    border-radius: 8px;
}

/* === HERO AND CONTENT === */
.affordability,
.hero,
.btnContainer,
.choose {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #0078d7;
    padding: 100px 20px;
    color: white;
    text-align: center;
    border: .5px #03315f solid;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


.dreamImg:hover {
    width: 22rem;
    transition: .7s ease
}

li {
    list-style-type: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #004488;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

#responseMessage {
    margin-top: 10px;

}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.reasons p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* === ANIMATION === */
.fade-in,
.fade-in-img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MOBILE STYLES === */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #02213f;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 1rem 2rem;
    }

    .nav-links.show {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .suit {
        margin: 0 1rem;
    }
}

/* === CONTACT FORM === */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.services-list {
    max-width: 600px;
    margin: auto;
    padding: 1rem;
    list-style-type: none;
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-list li {
    margin-bottom: 10px;
    text-align: left;
}

.car-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.car-card {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px #03315f solid;
}

.car-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.car-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.car-card p {
    font-weight: bold;
    color: #004488;
}

.info-section,
.testimonials,
.faq-section,
.featured-car,
.contact-info-section,
.map-section {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}



.testimonials blockquote {
    font-style: italic;
    background-color: #f2f2f2;
    padding: 1rem;
    margin: 1rem auto;
    border-left: 5px solid #0078d7;
    border-radius: 6px;
    max-width: 700px;
}

.pricing-table {
    width: 100%;
    max-width: 700px;
    margin: auto;
    border-collapse: collapse;
    background-color: white;
}
.pricing-table th, .pricing-table td {
    border: 1px solid #ddd;
    padding: 1rem;
}
 .pricing-table th {
    background-color: #0078d7;
    color: white;
 }
  
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem auto;
}

.search-bar input,
.search-bar select {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.whatsapp-contact {
    text-align: center;
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 2rem auto;
    max-width: 600px;
}

.search-bar input,
.search-bar select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    flex: 1;
    min-width: 200px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.modal-content .close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.searchResults {
    display: none;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.btnContainer {
    color: black;
}

.close {
    right: 30rem;
}

.jbDesign {
    margin-right: 10px;
}
.searchResultsLater{
    display: block;
}
#searchButton {
    border-radius: 7px;
    background-color: #0078d7;
    color: white;
    cursor: pointer;
}